package com.Lyy.Entity;

public class Student {
    private int studentId;
    private String studentName;
    private String classname;
    private String classTeacher;

    public Student() {
    }

    public Student(int studentId, String studentName, String classname, String classTeacher) {
        this.studentId = studentId;
        this.studentName = studentName;
        this.classname = classname;
        this.classTeacher = classTeacher;
    }

    public int getStudentId() {
        return studentId;
    }

    public void setStudentId(int studentId) {
        this.studentId = studentId;
    }

    public String getStudentName() {
        return studentName;
    }

    public void setStudentName(String studentName) {
        this.studentName = studentName;
    }

    public String getClassname() {
        return classname;
    }

    public void setClassname(String classname) {
        this.classname = classname;
    }

    public String getClassTeacher() {
        return classTeacher;
    }

    public void setClassTeacher(String classTeacher) {
        this.classTeacher = classTeacher;
    }

    @Override
    public String toString() {
        return "Student{" +
                "studentId=" + studentId +
                ", studentName='" + studentName + '\'' +
                ", classname='" + classname + '\'' +
                ", classTeacher='" + classTeacher + '\'' +
                '}';
    }
}
